import request from '@/utils/request'
import { transFormValue, transformData } from '@/utils/tools'

//新增
export function geoBlockCreate(data) {
  return request({
    url: '/geoBlock/create' + transFormValue(data),
    method: 'post'
  })
}
//删除
export function geoBlockDelete(data) {
    return request({
      url: '/geoBlock/delete' + transFormValue(data),
      method: 'post'
    })
}
//更新
export function geoBlockUpdate(data) {
    return request({
      url: '/geoBlock/update' + transFormValue(data),
      method: 'post'
    })
}

//列表
export function geoBlockGetList(data) {
    return request({
      url: '/geoBlock/getList' + transFormValue(data),
      method: 'post'
    })
}